$OpenBSD: patch-subversion_libsvn_subr_auth_c,v 1.7 2014/01/20 15:12:24 stsp Exp $
--- subversion/libsvn_subr/auth.c.orig	Mon Jan 20 14:02:33 2014
+++ subversion/libsvn_subr/auth.c	Mon Jan 20 14:11:07 2014
@@ -454,9 +454,9 @@ svn_auth_get_platform_specific_provider(svn_auth_provi
       const char *library_label, *library_name;
       const char *provider_function_name, *version_function_name;
       library_name = apr_psprintf(pool,
-                                  "libsvn_auth_%s-%d.so.%d",
+                                  "libsvn_auth_%s-%d.so.%s",
                                   provider_name,
-                                  SVN_VER_MAJOR, SVN_SOVERSION);
+                                  SVN_VER_MAJOR, "${SO_VERSION}");
       library_label = apr_psprintf(pool, "svn_%s", provider_name);
       provider_function_name = apr_psprintf(pool,
                                             "svn_auth_get_%s_%s_provider",
